package com.itheima.pojo;

import java.io.Serializable;
import java.util.Date;

public class Employee implements Serializable {
    private int id;
    private String company;
    private String name;
    private String sex;
    private String age;
    private String idcard;
    private String address;
    private String isTouchHubei;
    private String isTouchWenZhou;
    private String isHealth;
    private Date timeOfReturnWork;
    private String telephone;

    public Employee() {
    }

    public Employee(int id, String company, String name, String sex, String age, String idcard, String address, String isTouchHubei, String isTouchWenZhou, String isHealth, Date timeOfReturnWork, String telephone) {
        this.id = id;
        this.company = company;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.idcard = idcard;
        this.address = address;
        this.isTouchHubei = isTouchHubei;
        this.isTouchWenZhou = isTouchWenZhou;
        this.isHealth = isHealth;
        this.timeOfReturnWork = timeOfReturnWork;
        this.telephone = telephone;
    }

    public int getId() {
        return id;
    }

    public String getCompany() {
        return company;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public String getAge() {
        return age;
    }

    public String getIdcard() {
        return idcard;
    }

    public String getAddress() {
        return address;
    }

    public String getIsTouchHubei() {
        return isTouchHubei;
    }

    public String getIsTouchWenZhou() {
        return isTouchWenZhou;
    }

    public String getIsHealth() {
        return isHealth;
    }

    public Date getTimeOfReturnWork() {
        return timeOfReturnWork;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setIsTouchHubei(String isTouchHubei) {
        this.isTouchHubei = isTouchHubei;
    }

    public void setIsTouchWenZhou(String isTouchWenZhou) {
        this.isTouchWenZhou = isTouchWenZhou;
    }

    public void setIsHealth(String isHealth) {
        this.isHealth = isHealth;
    }

    public void setTimeOfReturnWork(Date timeOfReturnWork) {
        this.timeOfReturnWork = timeOfReturnWork;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", company='" + company + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", idcard='" + idcard + '\'' +
                ", address='" + address + '\'' +
                ", isTouchHubei='" + isTouchHubei + '\'' +
                ", isTouchWenZhou='" + isTouchWenZhou + '\'' +
                ", isHealth='" + isHealth + '\'' +
                ", timeOfReturnWork=" + timeOfReturnWork +
                ", telephone='" + telephone + '\'' +
                '}';
    }
}
